<!-- body -->
    <div id="hover-tip"></div>
    <div class="container nav-margin-top">
        <ol class="breadcrumb">
            <li><a href="javascript:history.go(-1);">« 返回 </a></li>
            <li class="active">私信<?php if($isExist){echo ': @ '.htmlspecialchars($isExist['user']);}?></li>
        </ol>
        <form id="myform" >
        <div class="send">
            <div class="send-title">
                <div class="clearfix">
                    <label for="sendtitle" class="l send-title-label">标题</label>
                    <input type="text" name="title" ns-data="true" id="sendtitle" class="form-control input-sm l send-title-input" placeholder="标题不超过30个字符">
                </div>
                <div class="clearfix">
                    <label class="l send-title-label">to</label>
                    <select class="l" name="to" id="to-user">
                        <option disabled selected>选择私信对象</option>
            <?php if($isExist){ ?>
                        <option value="<?php echo $isExist['id']?>" selected><?php echo htmlspecialchars($isExist['user'])?></option>
            <?php } ?>
                        <optgroup label="我关注的人">
            <?php if($my){
                foreach($my as $my_item){ ?>
                        <option value="<?php echo $my_item['id']?>"><?php echo htmlspecialchars($my_item['user'])?></option>
            <?php } 
                }else{ ?>
                        <option disabled>无</option>
            <?php } ?>
                        </optgroup>
                        <optgroup label="关注我的人">
            <?php if($me){
                foreach($me as $me_item){ ?>
                        <option value="<?php echo $me_item['id']?>"><?php echo htmlspecialchars($me_item['user'])?></option>
            <?php } 
                }else{ ?>
                        <option disabled>无</option>
            <?php } ?>
                        </optgroup>
                    </select>
                </div>
            </div>
            <div class="send-main clearfix">
                <div class="send-tool">
                    <label id="add-fj">添加附件</label>
                    <em>(允许上传最大文件5MB)</em>
                </div>
                <div class="glfj-out"><span id="glfj">管理附件(<b>0</b>)</span></div>
                <ul id="upload-zone" class="clearfix">
                    <span id="x" class="hand">x</span>
                    <li><span class="file-name icolor">文件名</span><span class="file-action">操作</span></li>
                </ul>
                <textarea onkeydown="tab(this)" name="body" id="sendcontent" ns-data="true" class="form-control send-text-input" placeholder="私信的内容..." rows="12"></textarea>
                <button class="r" name="submit" id="send-btn">发送</button>
            </div>
        </div>
        </form>
    </div>

<script src="public/js/jquery.min.js"></script>
<script src="public/js/my-bootstrap.min.js"></script>
<script async src="public/js/selfmail.all.js"></script>

